package com.health.mapper;

import com.health.common.QueryPageBean;
import com.health.domain.CheckGroup;
import com.health.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    User login(@Param("username") String username, @Param("password") String password);

    User findByUsername();

    List<CheckGroup> findList(@Param("queryPageBean") QueryPageBean queryPageBean);

    void insertCheckitem(Integer[] checkitemIds);
}
